<?php

/**
 * 内容文章管理
 *
 * @author jiang
 */

namespace Kj\Admin\Controller;

use View, Scstore, Input, Redirect, Config, Auth, Lang, Response, Request, Hash, URL, Validator;
use Kj\Admin\Controller\AdminController;
use Kj\Admin\Libraries\Acl;
use Kj\Admin\Libraries\Tree;
use Kj\Admin\Models\User;
use Kj\Admin\Models\Group;
use Kj\Admin\Libraries\Js;
use Kj\Admin\Validator\User as UserValidator;

class ContentController extends AdminController
{

    /**
     * 初始化，实例化用户（组）模型，权限处理
     *
     * @access public
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * 文件管理列表
     *
     * @access public
     */
    public function index()
    {
        return View::make('admin/content/index');
    }

    /**
     * 增加文章
     *
     * @access public
     */
    public function add()
    {
        return View::make('admin/content/add');
    }
    
}